import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
import axios from 'axios'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
import moment from 'moment'
Vue.use(iView)
moment.locale('zh-cn')



Vue.prototype.$moment = moment
Vue.config.productionTip = false
// 页面跳转条全局配置
iView.LoadingBar.config({
	height: 2
})
Vue.prototype.$http = axios
axios.defaults.headers.post['Content-Type'] = 'application/json'
new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
